image {
  resolution 1000 1000
  aa 0 2
  filter mitchell
}


trace-depths {
	diff 1 
	refl 100 
	refr 4
}


camera {
  type pinhole
  eye 0 0 10
  target 0 0 0
  up 0 1 0
  fov 70
  aspect 1
}

/*
light {
   type point
   color { "sRGB nonlinear" 1.000 1.000 1.000 }
   power 10000
   p 9 8 11
}
*/


light {
   type directional
   source 9 8 11
   target 0 0 0
   radius 2
   emit { "sRGB nonlinear" 1.000 1.000 1.000 }
   intensity 10
}


shader {
   name redphong
   type phong   
   diff { "sRGB nonlinear" 1 0 0 }
   spec { "sRGB nonlinear" 1.0 1.0 1.0 } 50
   samples 10

}

shader {
   name greenphong
   type phong   
   diff { "sRGB nonlinear"  0 1 0 }
   spec { "sRGB nonlinear" 1.0 1.0 1.0 } 50
   samples 10

}

shader {
   name bluephong
   type phong   
   diff { "sRGB nonlinear"  0 0 1 }
   spec { "sRGB nonlinear" 1.0 1.0 1.0 } 50
   samples 10

}

shader {
  name blue
  type constant
  color { "sRGB nonlinear" 0 0 1 }
}

shader {
  name red
  type constant
  color { "sRGB nonlinear" 1 0 0 }
}

shader {
  name green
  type constant
  color { "sRGB nonlinear" 0 1 0 }
}

object {
  shader redphong
  type sphere
  c 0 0 0
  r 1
}

object {
  shader greenphong
  type sphere  
  c -2 -2 -2 
  r 1
}


object {
  shader bluephong
  type sphere
  c 2 2 2
  r 1
}
